package com.donn.securitycontrolplatform.db2.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.donn.securitycontrolplatform.personinfo.entity.PersonInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PersonInfoMapper extends BaseMapper<PersonInfo> {
    PersonInfo getPersonByNameAndIdNo(@Param("name") String name, @Param("idNo") String idNo);

    IPage<PersonInfo> getPage(Page<PersonInfo> page);

}
